<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>gbmath: gbmath::Quaternion Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gbmath
   &#160;<span id="projectnumber">v0.051</span>
   </div>
   <div id="projectbrief">c++ math library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegbmath.html">gbmath</a></li><li class="navelem"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classgbmath_1_1_quaternion-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gbmath::Quaternion Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>standard quaternion.  
 <a href="classgbmath_1_1_quaternion.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="quaternion_8h_source.html">quaternion.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ace63b7eb298503624b207e9325ebc139"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#ace63b7eb298503624b207e9325ebc139">Quaternion</a> ()</td></tr>
<tr class="separator:ace63b7eb298503624b207e9325ebc139"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e9f9cfcaf50f2e401befe4bf9e70a4f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a4e9f9cfcaf50f2e401befe4bf9e70a4f">Quaternion</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q)</td></tr>
<tr class="separator:a4e9f9cfcaf50f2e401befe4bf9e70a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ce8d06d2ec5be4f17f9ec291b7bc01a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a3ce8d06d2ec5be4f17f9ec291b7bc01a">Quaternion</a> (float _x, float _y, float _z, float _w)</td></tr>
<tr class="separator:a3ce8d06d2ec5be4f17f9ec291b7bc01a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00d8926c630413d014d03bf88573bcc2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a00d8926c630413d014d03bf88573bcc2">Quaternion</a> (const float *pfArray)</td></tr>
<tr class="separator:a00d8926c630413d014d03bf88573bcc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3442468bdba57402cb4d173b95964ab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#af3442468bdba57402cb4d173b95964ab">operator float *</a> ()</td></tr>
<tr class="separator:af3442468bdba57402cb4d173b95964ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac5fd837aaec3652b8189c0584a7e3e7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#aac5fd837aaec3652b8189c0584a7e3e7">operator const float *</a> () const </td></tr>
<tr class="separator:aac5fd837aaec3652b8189c0584a7e3e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9431aa2f13e7dd9461f7a1856bb82d1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#ab9431aa2f13e7dd9461f7a1856bb82d1">operator==</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q) const </td></tr>
<tr class="separator:ab9431aa2f13e7dd9461f7a1856bb82d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12fb530f8068ad8fb55d800769ec4abe"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a12fb530f8068ad8fb55d800769ec4abe">operator!=</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q) const </td></tr>
<tr class="separator:a12fb530f8068ad8fb55d800769ec4abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a208218ad1f406546e0d5d548c9e04185"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a208218ad1f406546e0d5d548c9e04185">operator+=</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q)</td></tr>
<tr class="separator:a208218ad1f406546e0d5d548c9e04185"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60626bd1c65bb597a2cddd6a0043a2fd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a60626bd1c65bb597a2cddd6a0043a2fd">operator-=</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q)</td></tr>
<tr class="separator:a60626bd1c65bb597a2cddd6a0043a2fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8f8502e8ef52c07732763c208a1aede"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#aa8f8502e8ef52c07732763c208a1aede">operator*=</a> (const float f)</td></tr>
<tr class="separator:aa8f8502e8ef52c07732763c208a1aede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14f3d289a273cc9301048e431039d8b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a14f3d289a273cc9301048e431039d8b8">operator/=</a> (const float f)</td></tr>
<tr class="separator:a14f3d289a273cc9301048e431039d8b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18aee86c79430c00e00bc50d74f501a1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a18aee86c79430c00e00bc50d74f501a1">operator+</a> () const </td></tr>
<tr class="separator:a18aee86c79430c00e00bc50d74f501a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f6f2e179433983e58702e9b2f24d67d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a0f6f2e179433983e58702e9b2f24d67d">operator-</a> () const </td></tr>
<tr class="separator:a0f6f2e179433983e58702e9b2f24d67d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe3fe0f26046ae610eb46d57d76658ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#afe3fe0f26046ae610eb46d57d76658ae">operator+</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q) const </td></tr>
<tr class="separator:afe3fe0f26046ae610eb46d57d76658ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a285f23cfbf3ec57a4d67e0bff7a3142e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a285f23cfbf3ec57a4d67e0bff7a3142e">operator-</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q) const </td></tr>
<tr class="separator:a285f23cfbf3ec57a4d67e0bff7a3142e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afeab251479afae6baec7b7198ee2a819"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#afeab251479afae6baec7b7198ee2a819">operator*</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q) const </td></tr>
<tr class="separator:afeab251479afae6baec7b7198ee2a819"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a745f2b00b32dd680c1c974c3acb285b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a745f2b00b32dd680c1c974c3acb285b4">operator*</a> (const float f) const </td></tr>
<tr class="separator:a745f2b00b32dd680c1c974c3acb285b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a972ceafed4e8b978b9ca007ed57acf3a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a972ceafed4e8b978b9ca007ed57acf3a">operator/</a> (const float f) const </td></tr>
<tr class="separator:a972ceafed4e8b978b9ca007ed57acf3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8ad0190e3b7fa494cee653f1c6d1a0b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#ac8ad0190e3b7fa494cee653f1c6d1a0b">operator*=</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q)</td></tr>
<tr class="separator:ac8ad0190e3b7fa494cee653f1c6d1a0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa1d359508bd04b0b6a0d80c028be925"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#aaa1d359508bd04b0b6a0d80c028be925">set</a> (float _x, float _y, float _z, float _w)</td></tr>
<tr class="separator:aaa1d359508bd04b0b6a0d80c028be925"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e2a669b650eaaab081c239f9089c442"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a9e2a669b650eaaab081c239f9089c442">setIdentity</a> ()</td></tr>
<tr class="separator:a9e2a669b650eaaab081c239f9089c442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f0cf87d95e4f5ec8e4783698de2e53f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a5f0cf87d95e4f5ec8e4783698de2e53f">reset</a> ()</td></tr>
<tr class="memdesc:a5f0cf87d95e4f5ec8e4783698de2e53f"><td class="mdescLeft">&#160;</td><td class="mdescRight">reset to identity  <a href="#a5f0cf87d95e4f5ec8e4783698de2e53f">More...</a><br/></td></tr>
<tr class="separator:a5f0cf87d95e4f5ec8e4783698de2e53f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91176a26e17f6860ff3d74aab961dc94"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a91176a26e17f6860ff3d74aab961dc94">isIdentity</a> (float eps=0.0f) const </td></tr>
<tr class="memdesc:a91176a26e17f6860ff3d74aab961dc94"><td class="mdescLeft">&#160;</td><td class="mdescRight">ckeck identity  <a href="#a91176a26e17f6860ff3d74aab961dc94">More...</a><br/></td></tr>
<tr class="separator:a91176a26e17f6860ff3d74aab961dc94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a834fa59bc3de34d33efaf49491ead89e"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a834fa59bc3de34d33efaf49491ead89e">length</a> () const </td></tr>
<tr class="separator:a834fa59bc3de34d33efaf49491ead89e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac80be2750982ec8210dc7ac0c3a19226"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#ac80be2750982ec8210dc7ac0c3a19226">lengthSq</a> () const </td></tr>
<tr class="memdesc:ac80be2750982ec8210dc7ac0c3a19226"><td class="mdescLeft">&#160;</td><td class="mdescRight">get length squared  <a href="#ac80be2750982ec8210dc7ac0c3a19226">More...</a><br/></td></tr>
<tr class="separator:ac80be2750982ec8210dc7ac0c3a19226"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5130bea810979f459d5052cd08051570"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a5130bea810979f459d5052cd08051570">normalize</a> ()</td></tr>
<tr class="separator:a5130bea810979f459d5052cd08051570"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44d7517891dcfee54831d4ac5a088bfc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a44d7517891dcfee54831d4ac5a088bfc">conjugate</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q) const </td></tr>
<tr class="memdesc:a44d7517891dcfee54831d4ac5a088bfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the conjugate quaternion  <a href="#a44d7517891dcfee54831d4ac5a088bfc">More...</a><br/></td></tr>
<tr class="separator:a44d7517891dcfee54831d4ac5a088bfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a264fd43b0e574148711ac71b1e7f1876"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a264fd43b0e574148711ac71b1e7f1876">dot</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;g) const </td></tr>
<tr class="memdesc:a264fd43b0e574148711ac71b1e7f1876"><td class="mdescLeft">&#160;</td><td class="mdescRight">return a dot product  <a href="#a264fd43b0e574148711ac71b1e7f1876">More...</a><br/></td></tr>
<tr class="separator:a264fd43b0e574148711ac71b1e7f1876"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b17875d52a506da9c927c50b2a4b82c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a4b17875d52a506da9c927c50b2a4b82c">pow</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q, float exponent) const </td></tr>
<tr class="memdesc:a4b17875d52a506da9c927c50b2a4b82c"><td class="mdescLeft">&#160;</td><td class="mdescRight">return exponentiation  <a href="#a4b17875d52a506da9c927c50b2a4b82c">More...</a><br/></td></tr>
<tr class="separator:a4b17875d52a506da9c927c50b2a4b82c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9718fb66722a7ee7fd8a0ad9211f0fbb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a9718fb66722a7ee7fd8a0ad9211f0fbb">inverse</a> ()</td></tr>
<tr class="separator:a9718fb66722a7ee7fd8a0ad9211f0fbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67d5edb7f150bb5f900efe016089ab9e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a67d5edb7f150bb5f900efe016089ab9e">inversed</a> () const </td></tr>
<tr class="memdesc:a67d5edb7f150bb5f900efe016089ab9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">return inversed  <a href="#a67d5edb7f150bb5f900efe016089ab9e">More...</a><br/></td></tr>
<tr class="separator:a67d5edb7f150bb5f900efe016089ab9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fa6f57f2e920e75bdfc800b4b94ede7"><td class="memItemLeft" align="right" valign="top">__D3DX9MATH_H__ <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a9fa6f57f2e920e75bdfc800b4b94ede7">slerp</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q, float t)</td></tr>
<tr class="separator:a9fa6f57f2e920e75bdfc800b4b94ede7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac83b75488f1951f411f5aa7f0acc6ca2"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#ac83b75488f1951f411f5aa7f0acc6ca2">getRotationAngle</a> () const </td></tr>
<tr class="separator:ac83b75488f1951f411f5aa7f0acc6ca2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6ff0daa4332218515e5ebc99a0d759f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#af6ff0daa4332218515e5ebc99a0d759f">getRotationAxis</a> () const </td></tr>
<tr class="separator:af6ff0daa4332218515e5ebc99a0d759f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad72d193610738b2a50edfcc13b45e8a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1axies__angle.html">axies_angle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#ad72d193610738b2a50edfcc13b45e8a2">getRotationAxiesAngle</a> () const </td></tr>
<tr class="separator:ad72d193610738b2a50edfcc13b45e8a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80dccf15808d9a43985d3aa9fdadf672"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1axies__angle.html">axies_angle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a80dccf15808d9a43985d3aa9fdadf672">toAxiesAngle</a> () const </td></tr>
<tr class="separator:a80dccf15808d9a43985d3aa9fdadf672"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a640fa7b00c2418f26c6eb8d503fe0452"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a640fa7b00c2418f26c6eb8d503fe0452">setRotationX</a> (float theta)</td></tr>
<tr class="separator:a640fa7b00c2418f26c6eb8d503fe0452"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac110475dc2719cacbc6db80a41226cd4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#ac110475dc2719cacbc6db80a41226cd4">setRotationY</a> (float theta)</td></tr>
<tr class="separator:ac110475dc2719cacbc6db80a41226cd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dac6d00148afd1b35d21b15b7d98d0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a8dac6d00148afd1b35d21b15b7d98d0c">setRotationZ</a> (float theta)</td></tr>
<tr class="separator:a8dac6d00148afd1b35d21b15b7d98d0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae655dc102b620ebe8673bad796e6d382"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#ae655dc102b620ebe8673bad796e6d382">setRotationAxis</a> (const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;axis, float theta)</td></tr>
<tr class="separator:ae655dc102b620ebe8673bad796e6d382"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a725cba36f6123017327b7a8269456adc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a725cba36f6123017327b7a8269456adc">setRotationAxis</a> (const <a class="el" href="structgbmath_1_1axies__angle.html">axies_angle</a> &amp;aa)</td></tr>
<tr class="separator:a725cba36f6123017327b7a8269456adc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3547e45e6da7cbe5d729e39073eeda5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#ae3547e45e6da7cbe5d729e39073eeda5">setRotationYawPitchRoll</a> (float yaw, float pitch, float roll)</td></tr>
<tr class="memdesc:ae3547e45e6da7cbe5d729e39073eeda5"><td class="mdescLeft">&#160;</td><td class="mdescRight">set as rotation quaternion ( Построить поворотный по углам эллера)  <a href="#ae3547e45e6da7cbe5d729e39073eeda5">More...</a><br/></td></tr>
<tr class="separator:ae3547e45e6da7cbe5d729e39073eeda5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a451eb63222c75d8afb85210153356c51"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a451eb63222c75d8afb85210153356c51">setRotationEulersAngles</a> (const <a class="el" href="classgbmath_1_1euler__angles.html">euler_angles</a> &amp;ea)</td></tr>
<tr class="memdesc:a451eb63222c75d8afb85210153356c51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct turning the corners Eller.  <a href="#a451eb63222c75d8afb85210153356c51">More...</a><br/></td></tr>
<tr class="separator:a451eb63222c75d8afb85210153356c51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08abd49fa41bda4037c9230a78e62724"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a08abd49fa41bda4037c9230a78e62724">setRotationMatrix</a> (const <a class="el" href="structgbmath_1_1mat44.html">mat44</a> &amp;m)</td></tr>
<tr class="memdesc:a08abd49fa41bda4037c9230a78e62724"><td class="mdescLeft">&#160;</td><td class="mdescRight">set as rotation from matrix  <a href="#a08abd49fa41bda4037c9230a78e62724">More...</a><br/></td></tr>
<tr class="separator:a08abd49fa41bda4037c9230a78e62724"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a897116f8252acb853b9188348f462c11"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a897116f8252acb853b9188348f462c11">operator std::string</a> () const </td></tr>
<tr class="separator:a897116f8252acb853b9188348f462c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19cf4a3a9a679ea45a41341e54c7f327"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#a19cf4a3a9a679ea45a41341e54c7f327">operator=</a> (const std::string &amp;str)  throw (std::invalid_argument)</td></tr>
<tr class="separator:a19cf4a3a9a679ea45a41341e54c7f327"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3634ce8b9d149d81537b9a4331f808bc"><td class="memItemLeft" >union {</td></tr>
<tr class="memitem:a67db6ab3877b39380766d78ead1ac960"><td class="memItemLeft" >&#160;&#160;&#160;struct {</td></tr>
<tr class="memitem:adf289e24fc2b9bedc8fdd8c8b2625aaa"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="classgbmath_1_1_quaternion.html#a3882c651300845816e1217cba2603365">x</a></td></tr>
<tr class="separator:adf289e24fc2b9bedc8fdd8c8b2625aaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ecc506304806ecd3d14e108773cf126"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="classgbmath_1_1_quaternion.html#a840d387bebcaf33ee8120e27da850b50">y</a></td></tr>
<tr class="separator:a6ecc506304806ecd3d14e108773cf126"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63a502067cc0438f0b1f6e8b42d3db60"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="classgbmath_1_1_quaternion.html#a59b779f21113c09d454efcec2091c8ba">z</a></td></tr>
<tr class="separator:a63a502067cc0438f0b1f6e8b42d3db60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a686c20562bbde5253810121bb53fc2b6"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="classgbmath_1_1_quaternion.html#a7fe1a860e7668f2176c694372224c492">w</a></td></tr>
<tr class="separator:a686c20562bbde5253810121bb53fc2b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67db6ab3877b39380766d78ead1ac960"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:a67db6ab3877b39380766d78ead1ac960"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78b8adc64aba60e31c2b82b1c6c66333"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="classgbmath_1_1_quaternion.html#a1e0bfdecbadcffcf920226f49c95dabb">floats</a> [4]</td></tr>
<tr class="separator:a78b8adc64aba60e31c2b82b1c6c66333"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3634ce8b9d149d81537b9a4331f808bc"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:a3634ce8b9d149d81537b9a4331f808bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:ad5b0e6c85689f4caa6b3c547c3746a5f"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#ad5b0e6c85689f4caa6b3c547c3746a5f">operator&lt;&lt;</a> (std::ostream &amp;stream, const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q)</td></tr>
<tr class="separator:ad5b0e6c85689f4caa6b3c547c3746a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adea80a9eb5e7ad34a2287037e56b971f"><td class="memItemLeft" align="right" valign="top">std::istream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html#adea80a9eb5e7ad34a2287037e56b971f">operator&gt;&gt;</a> (std::istream &amp;stream, <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q)</td></tr>
<tr class="separator:adea80a9eb5e7ad34a2287037e56b971f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>standard quaternion. </p>

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00026">26</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ace63b7eb298503624b207e9325ebc139"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Quaternion::Quaternion </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00035">35</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4e9f9cfcaf50f2e401befe4bf9e70a4f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Quaternion::Quaternion </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00041">41</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3ce8d06d2ec5be4f17f9ec291b7bc01a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Quaternion::Quaternion </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_w</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00047">47</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a00d8926c630413d014d03bf88573bcc2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Quaternion::Quaternion </td>
          <td>(</td>
          <td class="paramtype">const float *&#160;</td>
          <td class="paramname"><em>pfArray</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00053">53</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a44d7517891dcfee54831d4ac5a088bfc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> gbmath::Quaternion::conjugate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the conjugate quaternion </p>

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00227">227</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a264fd43b0e574148711ac71b1e7f1876"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Quaternion::dot </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>g</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return a dot product </p>

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00238">238</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac83b75488f1951f411f5aa7f0acc6ca2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Quaternion::getRotationAngle </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00340">340</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad72d193610738b2a50edfcc13b45e8a2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1axies__angle.html">axies_angle</a> gbmath::Quaternion::getRotationAxiesAngle </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8cpp_source.html#l00183">183</a> of file <a class="el" href="quaternion_8cpp_source.html">quaternion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af6ff0daa4332218515e5ebc99a0d759f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec3.html">vec3</a> gbmath::Quaternion::getRotationAxis </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8cpp_source.html#l00129">129</a> of file <a class="el" href="quaternion_8cpp_source.html">quaternion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9718fb66722a7ee7fd8a0ad9211f0fbb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Quaternion::inverse </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00246">246</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a67d5edb7f150bb5f900efe016089ab9e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> gbmath::Quaternion::inversed </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return inversed </p>

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00264">264</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a91176a26e17f6860ff3d74aab961dc94"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Quaternion::isIdentity </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>eps</em> = <code>0.0f</code>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>ckeck identity </p>

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00200">200</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a834fa59bc3de34d33efaf49491ead89e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Quaternion::length </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00205">205</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac80be2750982ec8210dc7ac0c3a19226"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Quaternion::lengthSq </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>get length squared </p>

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00211">211</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5130bea810979f459d5052cd08051570"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&amp; gbmath::Quaternion::normalize </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00213">213</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="aac5fd837aaec3652b8189c0584a7e3e7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Quaternion::operator const float * </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00066">66</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="af3442468bdba57402cb4d173b95964ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Quaternion::operator float * </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00065">65</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a897116f8252acb853b9188348f462c11"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Quaternion::operator std::string </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00445">445</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a12fb530f8068ad8fb55d800769ec4abe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Quaternion::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00075">75</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="afeab251479afae6baec7b7198ee2a819"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> gbmath::Quaternion::operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00138">138</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a745f2b00b32dd680c1c974c3acb285b4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> gbmath::Quaternion::operator* </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00149">149</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa8f8502e8ef52c07732763c208a1aede"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&amp; gbmath::Quaternion::operator*= </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00099">99</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac8ad0190e3b7fa494cee653f1c6d1a0b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&amp; gbmath::Quaternion::operator*= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00161">161</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a18aee86c79430c00e00bc50d74f501a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> gbmath::Quaternion::operator+ </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00118">118</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="afe3fe0f26046ae610eb46d57d76658ae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> gbmath::Quaternion::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00128">128</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a208218ad1f406546e0d5d548c9e04185"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&amp; gbmath::Quaternion::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00081">81</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0f6f2e179433983e58702e9b2f24d67d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> gbmath::Quaternion::operator- </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00123">123</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a285f23cfbf3ec57a4d67e0bff7a3142e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> gbmath::Quaternion::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00133">133</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a60626bd1c65bb597a2cddd6a0043a2fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&amp; gbmath::Quaternion::operator-= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00090">90</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a972ceafed4e8b978b9ca007ed57acf3a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> gbmath::Quaternion::operator/ </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00155">155</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a14f3d289a273cc9301048e431039d8b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&amp; gbmath::Quaternion::operator/= </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00108">108</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a19cf4a3a9a679ea45a41341e54c7f327"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Quaternion::operator= </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>str</em>)</td><td></td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::invalid_argument</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00452">452</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab9431aa2f13e7dd9461f7a1856bb82d1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Quaternion::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00069">69</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4b17875d52a506da9c927c50b2a4b82c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> gbmath::Quaternion::pow </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>exponent</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>return exponentiation </p>

<p>Definition at line <a class="el" href="quaternion_8cpp_source.html#l00095">95</a> of file <a class="el" href="quaternion_8cpp_source.html">quaternion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5f0cf87d95e4f5ec8e4783698de2e53f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Quaternion::reset </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>reset to identity </p>

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00197">197</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaa1d359508bd04b0b6a0d80c028be925"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Quaternion::set </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_w</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00185">185</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9e2a669b650eaaab081c239f9089c442"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Quaternion::setIdentity </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00191">191</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae655dc102b620ebe8673bad796e6d382"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp; gbmath::Quaternion::setRotationAxis </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;&#160;</td>
          <td class="paramname"><em>axis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>theta</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8cpp_source.html#l00162">162</a> of file <a class="el" href="quaternion_8cpp_source.html">quaternion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a725cba36f6123017327b7a8269456adc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp; gbmath::Quaternion::setRotationAxis </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1axies__angle.html">axies_angle</a> &amp;&#160;</td>
          <td class="paramname"><em>aa</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8cpp_source.html#l00198">198</a> of file <a class="el" href="quaternion_8cpp_source.html">quaternion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a451eb63222c75d8afb85210153356c51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Quaternion::setRotationEulersAngles </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1euler__angles.html">euler_angles</a> &amp;&#160;</td>
          <td class="paramname"><em>ea</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct turning the corners Eller. </p>

<p>Definition at line <a class="el" href="quaternion_8cpp_source.html#l00204">204</a> of file <a class="el" href="quaternion_8cpp_source.html">quaternion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a08abd49fa41bda4037c9230a78e62724"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp; gbmath::Quaternion::setRotationMatrix </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1mat44.html">mat44</a> &amp;&#160;</td>
          <td class="paramname"><em>m</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set as rotation from matrix </p>

<p>Definition at line <a class="el" href="quaternion_8cpp_source.html#l00010">10</a> of file <a class="el" href="quaternion_8cpp_source.html">quaternion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a640fa7b00c2418f26c6eb8d503fe0452"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&amp; gbmath::Quaternion::setRotationX </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>theta</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00355">355</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac110475dc2719cacbc6db80a41226cd4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&amp; gbmath::Quaternion::setRotationY </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>theta</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00368">368</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae3547e45e6da7cbe5d729e39073eeda5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Quaternion::setRotationYawPitchRoll </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>yaw</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>pitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>roll</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>set as rotation quaternion ( Построить поворотный по углам эллера) </p>

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00396">396</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8dac6d00148afd1b35d21b15b7d98d0c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a>&amp; gbmath::Quaternion::setRotationZ </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>theta</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00378">378</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9fa6f57f2e920e75bdfc800b4b94ede7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> gbmath::Quaternion::slerp </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment"> имеются небольшие несоответствия с d3dx
</pre> <hr/>
 <h2>0.606882 0.275320 0.666870 0.333432 </h2>
<p>0.610759 0.206986 0.689953 0.328778 </p>

<p>Definition at line <a class="el" href="quaternion_8cpp_source.html#l00052">52</a> of file <a class="el" href="quaternion_8cpp_source.html">quaternion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a80dccf15808d9a43985d3aa9fdadf672"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1axies__angle.html">axies_angle</a> gbmath::Quaternion::toAxiesAngle </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8cpp_source.html#l00192">192</a> of file <a class="el" href="quaternion_8cpp_source.html">quaternion.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="ad5b0e6c85689f4caa6b3c547c3746a5f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00430">430</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="adea80a9eb5e7ad34a2287037e56b971f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::istream&amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00436">436</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a3634ce8b9d149d81537b9a4331f808bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">union { ... } </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1e0bfdecbadcffcf920226f49c95dabb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Quaternion::floats[4]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00032">32</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7fe1a860e7668f2176c694372224c492"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Quaternion::w</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00031">31</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3882c651300845816e1217cba2603365"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Quaternion::x</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00031">31</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a840d387bebcaf33ee8120e27da850b50"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Quaternion::y</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00031">31</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a59b779f21113c09d454efcec2091c8ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::Quaternion::z</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="quaternion_8h_source.html#l00031">31</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="quaternion_8h_source.html">quaternion.h</a></li>
<li><a class="el" href="quaternion_8cpp_source.html">quaternion.cpp</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<!--address class="footer"-->
<!--small-->
<br>
&nbsp;&nbsp;&nbsp;<b>Project page:</b> &nbsp;<a target="_blank" href="https://code.google.com/p/gbmath/">https://code.google.com/p/gbmath/</a>&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;<b>Doc page:</b> &nbsp;<a target="_blank" href="http://www.it.ks777.ru/docs">http://www.it.ks777.ru/docs</a>&nbsp;&nbsp;<br>
<br>
Generated on Sat Jul 27 2013 08:09:04 for gbmath by &#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
